document.write('<iframe class="zanpiancms-play-iframe" id="buffer" src="'+zanpiancms_player.adurl+'" width="100%" height="100%" frameborder="0" scrolling="no" style="position:absolute;z-index:9;display:none"></iframe>');
document.write('<iframe class="zanpiancms-play-iframe" src="'+zanpiancms_player.url+'" allowFullscreen="true" width="100%" height="100%"  frameborder="0" scrolling="no"></iframe>');
ads_show(); 
function ads_show(){
	try{
		if(zanpiancms_player.adurl!=null && zanpiancms_player.adtime>0){
			document.getElementById("buffer").style.display = "block";
			setTimeout("document.getElementById(\"buffer\").style.display=\"none\"",zanpiancms_player.adtime*1000);	
		}else{
			setTimeout(function(){ads_show();},200);
		}
		}catch(e){}
}